var go/types.go1_18

16 uses

	go/types (current package)
		call.go#L45: 	versionErr := !check.verifyVersionf(instErrPos, go1_18, "function instantiation")
		call.go#L290: 			check.verifyVersionf(atPos(ix.lbrack), go1_18, "function instantiation")
		call.go#L548: 		if !check.allowVersion(go1_18) {
		call.go#L552: 				check.versionErrorf(inNode(call.Fun, ix.lbrack), go1_18, "function instantiation")
		call.go#L554: 				check.versionErrorf(inNode(call, call.Lparen), go1_18, "implicit function instantiation")
		decl.go#L553: 		_ = !versionErr && check.isImportedConstraint(rhs) && check.verifyVersionf(tdecl.Type, go1_18, "using type constraint %s", rhs)
		decl.go#L621: 	if !versionErr && tparam0 != nil && !check.verifyVersionf(tparam0, go1_18, "type parameter") {
		resolver.go#L453: 				_ = d.decl.Type.TypeParams.NumFields() != 0 && !hasTParamError && check.verifyVersionf(d.decl.Type.TypeParams.List[0], go1_18, "type parameter")
		signature.go#L260: 			check.verifyVersionf(rbase, go1_18, "type instantiation")
		typeset.go#L276: 			if pos.IsValid() && check != nil && check.isImportedConstraint(typ) && !check.verifyVersionf(atPos(pos), go1_18, "embedding constraint interface %s", typ) {
		typeset.go#L285: 			if pos.IsValid() && check != nil && !check.verifyVersionf(atPos(pos), go1_18, "embedding interface element %s", u) {
		typeset.go#L299: 			if pos.IsValid() && check != nil && !check.verifyVersionf(atPos(pos), go1_18, "embedding non-interface type %s", typ) {
		typexpr.go#L35: 		if !check.verifyVersionf(e, go1_18, "predeclared %s", e.Name) {
		typexpr.go#L42: 		if !check.verifyVersionf(e, go1_18, "predeclared %s", e.Name) {
		typexpr.go#L292: 		check.verifyVersionf(inNode(e, ix.lbrack), go1_18, "type instantiation")
		version.go#L41: 	go1_18 = asGoVersion("go1.18")